package com.tcd.policy.service.impl;

import com.tcd.Policy.pojo.RecognizeeInfo;
import com.tcd.policy.service.RecognizeeInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tcd.policy.mapper.RecognizeeInfoMapper;

import java.util.List;

@Service
public class RecognizeeInfoServiceImpl implements RecognizeeInfoService {

    @Autowired
    RecognizeeInfoMapper mapper;

    @Override
    public List<RecognizeeInfo> selectRecognizeeInfoByinsurancestatus(Integer pageIndex, Integer pageSize,String recognizeeName) {
        return mapper.selectRecognizeeInfoByinsurancestatus(pageIndex,pageSize,recognizeeName);
    }

    @Override
    public Integer selectRecognizeeInfoByinsurancestatusCount(String recognizeeName) {
        return mapper.selectRecognizeeInfoByinsurancestatusCount(recognizeeName);
    }
}